package org.dromara.web.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import org.dromara.common.core.config.FastConfig;
import org.dromara.common.core.utils.StringUtils;
import lombok.RequiredArgsConstructor;
import org.dromara.common.web.core.BaseController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 首页
 *
 * @author fly
 */
@SaIgnore
@RequiredArgsConstructor
@RestController
public class IndexController extends BaseController {

    /**
     * 系统基础配置
     */
    private final FastConfig config;

    /**
     * 访问首页，提示语
     */
    @GetMapping("/")
    public ModelAndView index() {
        ModelAndView view = new ModelAndView( "index.html");
        return view;
    }
}
